package com.example.demo.service.app;

import com.example.demo.po.app.App;
import com.example.demo.vo.app.AppVO;
import com.example.demo.vo.ResultVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface AppService {
    ResultVO<AppVO> uploadApp(MultipartFile app,String username);

    App getAppByTask(int tid);

    ResultVO<List<AppVO>> getAppByEmployer(String username,int pageNum);

    void downloadFile(String originName, String newName, HttpServletResponse response);
}
